package com.eddie.builder.improve;

/**
 * @author Eddie
 * @date 2022/07/28 10:41
 **/
public abstract class HouseBuilder {
    protected House house = new House();
    //将建造的流程写好抽象的方法
    public  abstract void  buildBasic();
    public  abstract void  buildWalls();
    public  abstract void  roofed();

    //建造房子好后，将产品返回
    public House buildHouse() {
        return house;
    }

}
